import request from '@/router/axios'

export function receiveTestFetchList(query) {
  return request({
    url: '/eims/inventoryCheck/page',
    method: 'get',
    params: query
  })
}

export function receiveTestAddObj(obj) {
  return request({
    url: '/eims/inventoryCheck',
    method: 'post',
    data: obj
  })
}

export function receiveTestGetObj(id) {
  return request({
    url: '/eims/inventoryCheck/' + id,
    method: 'get'
  })
}

export function receiveTestDelObj(id) {
  return request({
    url: '/eims/inventoryCheck/' + id,
    method: 'delete'
  })
}

export function receiveTestPutObj(obj) {
  return request({
    url: '/admin/eimsinventorycheck',
    method: 'put',
    data: obj
  })
}
